package com.haohope.excel.trans;

import java.lang.reflect.Field;
import java.util.Map;
import com.haohope.excel.exceptions.ExcelException;
public abstract class DictionaryTrans implements IExcelTrans<Object> {
	public abstract Map<String,String> dictionaryDatas();
	@SuppressWarnings("rawtypes")
	@Override
	public String transValue(String sheetname, int sheet, int row, Map<String, String> rowObj, String value,
			Class clazz, Field field) throws ExcelException {
		return dictionaryDatas().get(value);
	}
}
